import 'package:flutter/foundation.dart';
import 'package:kq_flutter_widgets/config/kq_global.dart';

class Global {
  // 正式环境地址
  static const String releaseBaseUrl = 'http://121.199.31.203/highnet/';

  //登录前的接口访问地址
  static String defaultBaseUrl =
      kReleaseMode ? releaseBaseUrl : 'http://192.168.3.253/highnet/';

  // static String baseUrl = 'http://121.199.31.203/highnet/';
  static String defaultBaseUrlStr = kReleaseMode ? '203正式' : '253开发';

  static const String themeYellow = kqThemeConfigId;
  static const String themeRed = 'themeRed';
  static const String themeBlue = 'themeBlue';
  static const String themeDark = 'themeDark';

  /// 图片预览-路由, 对应页面 [ImgPreviewPage]
  static const String routerOfImagePreview = "/ImgPreview";

  /// 文件预览-路由, 对应页面 [FilePreviewPage]
  static const String routerOfFilePreview = "/FilePreview";

  /// 视频播放-路由, 对应页面 [VideoPlayPage]
  static const String routerOfVideoPlay = "/VideoPlayPage";

  /// 地址选择-路由，对应页面[AddressPick]
  static const String routerOfAddressPick = "/AddressPick";
}
